import Vue from 'vue'
import TestU from './testU.vue'

import router from './testU.router'
import axios from '../../http'

import 'element-ui/lib/theme-chalk/index.css';

import ElementUI from 'element-ui';
import utils from '../../utils/utils';
import { cheeToken } from '../../utils/cheToken';

Vue.use(ElementUI);
Vue.config.productionTip = false
//这样可以在各个组件中使用axios
Vue.prototype.$axios = axios;
//console.log(utils.getCookie('monitor_count'))
//查检token是否有效
new Vue({
  router,
  render: h => h(TestU)
}).$mount('#testU')




utils.setToken();